//
//  ForgetPasswordService.swift
//  User
//
//  Created by ET|冰琳 on 2017/1/12.
//  Copyright © 2017年 IB. All rights reserved.
//

import Foundation
import ReactiveSwift

public protocol ForgotPasswordService {
    
    associatedtype ForgotPasswordCodeResult
    associatedtype ForgotPasswordResult
    
    func getForgetPasswordCodeWith(phone: String!) -> SignalProducer<ForgotPasswordCodeResult, NSError>
    
    func resetPasswordWith(phone: String!, code: String!, newpwd: String!)
        -> SignalProducer<ForgotPasswordResult, NSError>
    
}
